package com.ldk.springboot2021.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

//页面跳转
@Controller
public class PageController {
    //跳转到门店添加页面
    @RequestMapping("/toAddDoor")
    public String toAddDoor(){
        return "addDoor";
    }
    @RequestMapping("/toAddOrder")
    public String toAddOrder(){
        return "addOrder";
    }
    @RequestMapping("/zyfff")
    public String toMerry(){
        return "index";
    }

    @RequestMapping("/toLoginPage")
    public String toLoginPage(){
        return "login";
    }
    @RequestMapping("/toRegister")
    public String toRegister(){
        return "register";
    }

}
